/**
 * Created by Colin3dmax on 2016/12/26.
 */
'use strict';
import {persistStore, persistCombineReducers} from 'redux-persist'
import {combineReducers} from 'redux';
import storage from 'redux-persist/es/storage'

import user from './user';
import common from './common';
import dongtai from './dongtai';

const config = {
    key: 'root',
    storage,
}


const rootReducer = persistCombineReducers(config, {
    user: user,
    common: common,
    dongtai: dongtai,
});

export default rootReducer;
